package cn.service.imput;

import cn.dao.UserDao;
import cn.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import javax.annotation.Resources;

@Service("UserService")
public class UserServiceImput implements UserService {
    @Resource(name = "UserDao")
    private UserDao user;

    @Override
    public void save(String dd) {
        user.save(dd);
    }
}
